package com.liuwei.msmall.search.service;

import com.liuwei.msmall.common.dto.es.EsSkuModelDTO;

import java.io.IOException;
import java.util.List;

/**
 * @Classname ProductEsService
 * @Date 2021/4/10 2:59 下午
 * @Created by llww
 */
public interface ProductEsService {

    Boolean saveToEs(List<EsSkuModelDTO> esSkuModels) throws IOException;

    void deleteFromEs(Long spuId) throws IOException;

}
